Object.defineProperty(exports, "__esModule", {
    value: !0
});

var e = function(e) {
    return e && e.__esModule ? e : {
        default: e
    };
}(require("crypto.js"));

!function() {
    var r = e.default.util, t = e.default.SHA1 = function(e, s) {
        var o = r.wordsToBytes(t._sha1(e));
        return s && s.asBytes ? o : s && s.asString ? r.bytesToString(o) : r.bytesToHex(o);
    };
    t._sha1 = function(e) {
        var t = r.stringToWords(e), s = 8 * e.length, o = [], a = 1732584193, u = -271733879, n = -1732584194, f = 271733878, i = -1009589776;
        t[s >> 5] |= 128 << 24 - s % 32, t[15 + (s + 64 >>> 9 << 4)] = s;
        for (var l = 0; l < t.length; l += 16) {
            for (var d = a, v = u, c = n, _ = f, y = i, g = 0; g < 80; g++) {
                if (g < 16) o[g] = t[l + g]; else {
                    var b = o[g - 3] ^ o[g - 8] ^ o[g - 14] ^ o[g - 16];
                    o[g] = b << 1 | b >>> 31;
                }
                var h = (a << 5 | a >>> 27) + i + (o[g] >>> 0) + (g < 20 ? 1518500249 + (u & n | ~u & f) : g < 40 ? 1859775393 + (u ^ n ^ f) : g < 60 ? (u & n | u & f | n & f) - 1894007588 : (u ^ n ^ f) - 899497514);
                i = f, f = n, n = u << 30 | u >>> 2, u = a, a = h;
            }
            a += d, u += v, n += c, f += _, i += y;
        }
        return [ a, u, n, f, i ];
    }, t._blocksize = 16;
}(), exports.default = e.default;